package com.relytosoft.mizar.analyze.base.entity.bitman;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;

/**
 * @title: 实时分析任务创建请求实体
 * @Author SunLi
 * @Date: 2022/5/12 11:22
 * @Version 1.0
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class TaskDto implements Serializable {
    @JsonProperty("ServiceType")
    private Integer serviceType;
    /**
     * 任务类型
     */
    @JsonProperty("TaskType")
    private Integer taskType;
    /**
     * 实时推送任务数据回调地址
     */
    @JsonProperty("UploadUrl")
    private String uploadUrl;
    /**
     * 任务创建状态回调地址
     */
    @JsonProperty("StatusUploadUrl")
    private String statusUploadUrl;
    @JsonProperty("InputSrc")
    private TaskInputDto inputSrc;

    public Integer getTaskType() {
        return taskType;
    }

    public void setTaskType(Integer taskType) {
        this.taskType = taskType;
    }

    public String getUploadUrl() {
        return uploadUrl;
    }

    public void setUploadUrl(String uploadUrl) {
        this.uploadUrl = uploadUrl;
    }

    public String getStatusUploadUrl() {
        return statusUploadUrl;
    }

    public void setStatusUploadUrl(String statusUploadUrl) {
        this.statusUploadUrl = statusUploadUrl;
    }

    public TaskInputDto getInputSrc() {
        return inputSrc;
    }

    public void setInputSrc(TaskInputDto inputSrc) {
        this.inputSrc = inputSrc;
    }

    public Integer getServiceType() {
        return serviceType;
    }

    public void setServiceType(Integer serviceType) {
        this.serviceType = serviceType;
    }

    @Override
    public String toString() {
        return "TaskDto{" +
                "serviceType=" + serviceType +
                ", taskType=" + taskType +
                ", uploadUrl='" + uploadUrl + '\'' +
                ", statusUploadUrl='" + statusUploadUrl + '\'' +
                ", inputSrc=" + inputSrc +
                '}';
    }
}
